﻿using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace AppSocketModel.Alarm
{
    /// <summary>
    /// 电子围栏配置
    /// </summary>
    [BsonIgnoreExtraElements]
    public class FenceAlarmDto: AlarmTypeBase
    {
        /// <summary>
        /// 进入围栏报警
        /// </summary>
        public bool IsIntoAlarm { set; get; }

        /// <summary>
        /// 出围栏报警
        /// </summary>
        public bool IsOutAlarm { set; get; }

        /// <summary>
        /// 进入围栏报警字符串前缀
        /// </summary>
        public string IntoAlarmMsgPre { set; get; }

        /// <summary>
        /// 出围栏报警字符串前缀
        /// </summary>
        public string OutAlarmMsgPre { set; get; }
    }
}
